﻿// Copyright (c) 2017 GlassGrass

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UniRx;

namespace GlassGrass.Unity.GuiFramework
	{
	/// <summary> GuiElement container. </summary>
	public interface IContainer
		{

		/// <summary> Be fired when child was added. </summary>
		IObservable<GuiElement> ChildAdded { get; }


		/// <summary> Be fired when child was removed. </summary>
		IObservable<GuiElement> ChildRemoved { get; }


		/// <summary> [get] Child GUI element of this </summary>
		IList<GuiElement> Children { get; }
		}



	}
